/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
public class Book {
       public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
    private String number;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
    private String name;
    private double price;
}
    class Book1 extends Book{
    }
    class Book2 extends Book{
   
    public static void main(String[] args) {
        Book2 =new Book();
        2.setName("")
}
 }